/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sphere;

/**
 *
 * @author Carter
 */
public class User {

    public double x;
    public double y;
    public double z;
    public double desiredX;
    public double desiredY;
    public double desiredZ;
    public double level;
    public double totalEnergy;
    String name;

    public User(String userName) {
        name = userName;
        x = 0;
        y = 0; 
        z = 0;
        level=0; 
        totalEnergy = 30 + (level * level);
    }

    public User(String userName, double preferredX, double preferredY, double preferredZ) {
        name = userName;
        x = preferredX;
        y = preferredY;
        z = preferredZ;
    }

    public void printName() {
        System.out.println("Name: " + name);
    }

    public void currentArea() {

        System.out.println("(" + x + "," + y + "," + z + ")");
    }

    public double getCurrentX() {
        return x;
    }

    public double getCurrentY() {
        return y;
    }

    public double getCurrentZ() {
        return z;
    }

    public void newDesiredPoints(double x, double y, double z) {
        desiredX = x;
        desiredY = y;
        desiredZ = z;
    }

    public double getDesiredX() {
        return desiredX;
    }

    public double getDesiredY() {
        return desiredY;
    }

    public double getDesiredZ() {
        return desiredZ;
    }

    public double getlvl(){
        return level;
    }

    public double getTotalEnergy(){
        return totalEnergy;
    }


}
